var runtime.gomaxprocs
28 uses
runtime (current package)
debug.go#L22: ret := int(gomaxprocs)
metrics.go#L436: out.scalar = uint64(gomaxprocs)
mgc.go#L701: work.stwprocs, work.maxprocs = gomaxprocs, gomaxprocs
mgc.go#L734: gcController.startCycle(now, int(gomaxprocs), trigger)
mgc.go#L1000: gcController.endCycle(now, int(gomaxprocs), work.userForced)
mgc.go#L1311: if gcBgMarkWorkerCount >= gomaxprocs {
mgc.go#L1326: for gcBgMarkWorkerCount < gomaxprocs {
mgcpacer.go#L706: if gomaxprocs <= 1 {
mgcpacer.go#L715: id := int32(cheaprandn(uint32(gomaxprocs - 1)))
mgcscavenge.go#L413: return gomaxprocs
mstats.go#L633: for i := 0; i < int(gomaxprocs); i++ {
mstats.go#L975: s.TotalTime = sched.totaltime + (now-sched.procresizetime)*int64(gomaxprocs)
proc.go#L1553: sched.stopwait = gomaxprocs
proc.go#L1670: procs := gomaxprocs
proc.go#L2033: sched.safePointWait = gomaxprocs - 1
proc.go#L3060: if sched.npidle.Load() == gomaxprocs-1 && sched.lastpoll.Load() != 0 {
proc.go#L3360: if mp.spinning || 2*sched.nmspinning.Load() < gomaxprocs-sched.npidle.Load() {
proc.go#L5688: old := gomaxprocs
proc.go#L5818: var int32p *int32 = &gomaxprocs // make compiler check that gomaxprocs is an int32
proc.go#L6081: if debug.schedtrace <= 0 && (sched.gcwaiting.Load() || sched.npidle.Load() == gomaxprocs) {
proc.go#L6083: if sched.gcwaiting.Load() || sched.npidle.Load() == gomaxprocs {
proc.go#L6341: print("SCHED ", (now-starttime)/1e6, "ms: gomaxprocs=", gomaxprocs, " idleprocs=", sched.npidle.Load(), " threads=", mcount(), " spinningthreads=", sched.nmspinning.Load(), " needspinning=", sched.needspinning.Load(), " idlethreads=", sched.nmidle, " runqueue=", sched.runqsize)
proc.go#L6535: n := sched.runqsize/gomaxprocs + 1
proc.go#L7156: if i >= active_spin || ncpu <= 1 || gomaxprocs <= sched.npidle.Load()+sched.nmspinning.Load()+1 {
runtime2.go#L1181: gomaxprocs int32
trace.go#L283: tl.Gomaxprocs(gomaxprocs) // Get this as early in the trace as possible. See comment in traceAdvance.
trace.go#L452: tl.Gomaxprocs(gomaxprocs)
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |